define
(    
    function()
    {        
        ElementDeleteAction = function(taskChangeId, frameChangeId, changeIds)
        {          
            if (!changeIds)
            {
                throw "changeIds cannot be null";
            }

            this.toJSON = function()
            {
                return {id: this.id, taskChangeId: taskChangeId, frameChangeId: frameChangeId, changeIds: changeIds};
            };
        };

        ElementDeleteAction.prototype.id = ElementDeleteAction.id = "ElementDeleteAction";
        return ElementDeleteAction;        
    }
);